import {Matirial} from '../../../api/page/model'
const type = 'v-image'
function ImageFactory (obj) {
  if (obj.type !== type) { console.warn('type is no a vImage but call a ImageFactory') }
  obj.type = type
  return new Matirial(obj)
}

export default ImageFactory
